XPDF_ImageSelectionChanged
Type
message
Summary
Sent to the current card when the user changes the image selection
Syntax
XPDF_ImageSelectionChanged <selectionRange>
Description
Sent to the current card when the user changes the image selection
Parameters
Name | Type | Description |
---|---|---|
selectionRange | A comma-delimited list of 1 integer and 4 real numbers:
|
Examples
on XPDF_SelectionChanged pSelectionRange
local theSelectedImage
XPDFViewer_GetSelectionImage "Document1", "theSelectedImage"
set the width of image "selected image" to item 1 of the result
set the height of image "selected image" to item 2 of the result
set the imageData of image "selected image" to theSelectedImage
end XPDF_SelectionChanged
Compatibility and Support
Introduced
LiveCode 1.0.0
OS
mac
windows
Platforms
desktop